<template>
    <el-container class="activityBox">
        <el-aside class="rightBox">
            <div class="activityContent">
                <div class="title">
                    <label>概况</label>
                </div>
                <ul class="hotWarp">
                    <li>活动类型:张三</li><br>
                    <li>浏览数:0</li><br>
                    <li>评论:0</li><br>
                    <li>活动时间:公开</li><br>
                </ul>
            </div>
        </el-aside>
        <el-main class="mainBox">
            <div class="activityContent">
                <div class="title">
                    <label>内容</label>
                </div>
                <ReadingResearchCommon :articleMes='articleMes'></ReadingResearchCommon>
            </div>
        </el-main>
    </el-container>
</template>

<script>
    import ReadingResearchCommon from '@/components/article/ReadingResearchCommon'
    export default {
        components:{
            ReadingResearchCommon
        },
        data() {
            return {
                articleMes:{},
                formInline: {
                    theme: '',
                    state: ''
                },
                src: require('../../../assets/img/headportrait01.jpg'),
                page: 1,
                pageSize: 8,
                total: 400
            }
        },
        methods: {

            // 每页显示条数
            handleSizeChange(val) {
                this.pageSize = val
            },

            // 当前页
            handleCurrentChange(val) {
                this.page = val
            }
        },
    }
</script>

<style lang="scss" scoped>
    .activityBox {
        width: 81%;
        margin: 0 auto;

        .title {
            font-size: 14px;
            color: #303133;
            text-align: left;
            box-sizing: border-box;
            padding-bottom: 8px;
            border-bottom: 2px solid #409EFF;

        }

        .activityContent {
            background-color: white;
            box-sizing: border-box;
            padding: 10px;
            width: 100%;
            height: 100%;
        }

        .mainBox {
            padding-left: 0;

            .demo-form-inline {
                text-align: left;
                margin-top: 22px;
            }

            .grid-content {
                background-color: #F2F6FC;
                margin-bottom: 22px;

                .cover {
                    width: 100%;
                }

                .heading {
                    box-sizing: border-box;
                    padding: 0 10px;
                    width: 100%;
                    height: 30px;
                    line-height: 30px;
                    font-size: 14px;
                    color: #303133;
                    text-align: left;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    text-align: left;
                }

                .stateWarp {
                    box-sizing: border-box;
                    padding: 0 10px;
                    width: 100%;
                    line-height: 30px;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    font-size: 14px;

                    .state {
                        color: #303133;
                    }

                    .browse {
                        color: #909399;
                    }
                }
            }
        }

        .rightBox {
            padding: 20px 0;

            .hotWarp {
                li {
                    display: flex;
                    padding-left: 30px;
                }
                // list-style-type: none;
                margin-block-start: 0;
                margin-block-end: 0;
                padding-inline-start: 0;
                margin-top: 10px;

                .hotList {
                    height: 40px;
                    line-height: 40px;

                    .user {
                        float: right;
                        color: #303133;
                        font-size: 14px;
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        text-align: left;

                        span {
                            display: inline-block;
                            width: 20px;
                            height: 20px;
                            line-height: 20px;
                            color: white;
                            text-align: center;
                            background-color: #909399;
                            margin-right: 6px;
                        }
                    }
                }

                .hotList:nth-child(1) .user>span,
                .hotList:nth-child(2) .user>span,
                .hotList:nth-child(3) .user>span {
                    background-color: #409EFF;
                }
            }
        }
    }
</style>